<template>
  <div>
    <el-radio v-model="radio" label="1">备选项</el-radio>
    <el-radio v-model="radio" label="2">备选项</el-radio>
    <div>
      <el-radio-group v-model="form.station" >
        <el-radio
          v-for="item in data"
          :key="item.val"
          :value="item.val"
          :label="item.val"
        >{{item.name}}</el-radio>
      </el-radio-group>
    </div>
    <el-button @click="aa">点击获取</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      radio: "1",
      form:{
        station:"2"
      },
      data: [
        {
          name: "激活",
          val: "0",
        },
        {
          name: "实施中",
          val: "1",
        },
        {
          name: "未实施",
          val: "2",
        },
      ],
    };
  },
  mounted(){
      console.log("this.station1",this.form.station)
  },
  methods:{
     aa(){
     console.log("this.station2",this.form.station)
     console.log("this.station2",typeof this.form.station)
     }
  },
  // watch:{
  //    station(val){
  //        console.log("val",val)
  //        this.form.station = val
  //    } 
  // }
};
</script>
